﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Index</title>
<link href="../style/css/layout.css" rel="stylesheet" type="text/css" />
<link href="../style/css/font.css" rel="stylesheet" type="text/css" />
</head>

<body>
<?php
	session_start();
	
	//如果是点击注销后进入此页面，则注销session
	if($_GET["cancel"] == 1)
	{
		//注销毕业生
		if(isset($_SESSION["Graduate_Id"]))
		{
			session_unregister("Graduate_Id");
		}
		//注销企业
		if(isset($_SESSION["Company_Id"]))
		{
			session_unregister("Company_Id");
		}
	}
	include("../inc/top.php");
?>
<div class="login_body fc333">
	<div class="main_login_contain">
    	<div class="main_login">
        	<div class="window left mg_r_30">
            	<div class="logintitle">学生老师登陆</div>
                <div class="login4st">
				
					<form method="post" action="../action/action_login_user.php">
						<div class="login4st_l left lh50">
							<div class="login4st_ht50">账户：</div>
							<div class="login4st_ht50">密码：</div>
						</div>
						<div class="login4st_m left">
							<div class="login4st_ht50"><input type="text" class="login_input" name="userName" /></div>
							<div class="login4st_ht50"><input type="password" class="login_input" name="password"/></div>
						</div>
						<div class="login4st_r left lh50">
							<div class="login4st_ht50"><input type="submit" class="login_btn" value="" /></div>
							<div class="login4st_ht50"> 忘记密码？</div>
						</div>
					</form>
					
                    <div class="clear"></div>
                </div>
                <div class="logintitle">企业用户登陆</div>
                <div class="login4st">
                	<form method="post" action="../action/action_login_company.php">
						<div class="login4st_l left lh50">
							<div class="login4st_ht50">账户：</div>
							<div class="login4st_ht50">密码：</div>
						</div>
						<div class="login4st_m left">
							<div class="login4st_ht50"><input type="text" class="login_input" name="CName"/></div>
							<div class="login4st_ht50"><input type="password" class="login_input" name="password"/></div>
						</div>
						<div class="login4st_r left lh50">
							<div class="login4st_ht50"><input type="submit" class="login_btn" value="" /></div>
							<div class="login4st_ht50"> 忘记密码？</div>
						</div>
					</form>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="sepwindow left"></div>
            <div class="window right">
            	<div class="logintitle">学生注册</div>
            	<div class="reg_window lh50">
					<form action = "../action/action_register_user.php" method = "post">
						<div class="reg_l left">用户名：</div>
						<div class="reg_r left"><input type="text" class="reg_input" name="username" /></div>
						<div class="reg_l left">密码：</div>
						<div class="reg_r left"><input type="password" class="reg_input" name="password" /></div>
						<div class="reg_l left">再次输入：</div>
						<div class="reg_r left"><input type="password" class="reg_input" name="password_re" /></div>
						<div class="reg_l left">姓名：</div>
						<div class="reg_r left"><input type="text" class="reg_input" name="name" /></div>
						<div class="reg_l left">邮箱：</div>
						<div class="reg_r left"><input type="text" class="reg_input" name="email" /></div>
						<div class="reg_bottom left"><input type="submit" class="reg_btn" value=""/></div>
						<div class="clear"></div>
					</form>
                </div>
            </div>
            <div class="clear"></div> 
        </div>
    </div>
</div>
<?php
	include("../inc/copyright.php");
?>
</body>
</html>
